package com.xinxin.leetcode.problem521;

/**
 * @author ShiXinXin
 * @date 2020-01-13 2:06
 */
class Solution {
    public int findLUSlength(String a, String b) {
        if (a.equals(b)) {
            return -1;
        }
        return Math.max(a.length(), b.length());
    }

    public static void main(String[] args) {
        System.out.println(new Solution().findLUSlength("aba", "cdc"));
    }
}
